/**
 * @description 左侧布局
 */
const leftLayout = r => {
  require.ensure(
    [],
    () => r(require('../../views/itemMgt/index.vue').default),
    'itemMgt'
  )
}
export default [
  {
    path: '/itemMgt', // 项目管理
    name: 'itemMgt',
    component: leftLayout,
    redirect: '/itemMgt/itemManage',
    meta: {
      title: '立项管理'
    },
    children: [
      {
        path: '/itemMgt/itemManage', // 项目管理
        name: 'itemManage',
        component: r => {
          require.ensure([], () => r(require('@/views/itemMgt/itemManage/ItemManage.vue').default), 'itemMgt')
        },
        meta: {
          title: '立项管理'
        }
      }, {
        path: '/itemMgt/itemAudit', // 项目管理
        name: 'itemAudit',
        component: r => {
          require.ensure([], () => r(require('@/views/itemMgt/itemAudit/itemAudit.vue').default), 'itemMgt')
        },
        meta: {
          title: '审核管理'
        }
      },{
        path: '/itemMgt/taskManage', // 任务管理
        name: 'taskManage',
        component: r => {
          require.ensure([], () => r(require('@/views/itemMgt/taskManage/TaskManage.vue').default), 'itemMgt')
        },
        meta: {
          title: '任务管理'
        }
      }, {
        path: '/itemMgt/taskImplement', // 任务实施
        name: 'taskImplement',
        component: r => {
          require.ensure([], () => r(require('../../views/itemMgt/taskImplement/TaskImplement.vue').default), 'itemMgt')
        },
        meta: {
          title: '实施管理'
        }
      },
       {
        path: '/itemMgt/intelligentAnalysis', // 智能分析管理
        name: 'intelligentAnalysis',
        component: r => {
          require.ensure([], () => r(require('../../views/itemMgt/intelligentAnalysis/intelligentAnalysis.vue').default), 'itemMgt')
        },
        meta: {
          title: '智能分析管理'
        }
      }, 
      /*{
        path: '/itemMgt/budgetManage', // 预算管理
        name: 'budgetManage',
        component: r => {
          require.ensure([], () => r(require('../../views/itemMgt/budgetManage/BudgetManage.vue').default), 'itemMgt')
        },
        meta: {
          title: '预算管理'
        }
      }, {
        path: '/itemMgt/expertManage', // 专家管理
        name: 'expertManage',
        component: r => {
          require.ensure([], () => r(require('../../views/itemMgt/expertManage/ExpertManage.vue').default), 'itemMgt')
        },
        meta: {
          title: '专家管理'
        }
      }*/
    ]
  }
]
